
export const appRouter = [

    {
        path: '/home',
        component: () => import('@/views/home/index.vue'),
        children: [
            {
                path: '',
                name: 'home',
                component: () => import('@/views/home/HomeView.vue'),
                meta: {
                    title: "首页",
                    keepAlive: true, // 需要缓存
                },
            },
            {
                path: '/search',
                name: 'search',
                component: () => import('@/views/search/Search.vue'),
                meta: {
                    title: "搜索",
                    keepAlive: false, // 不需要缓存
                    hidetabbar:true,
                },
            },
            {
                path: '/myLike',
                name: 'myLike',
                component: () => import('@/views/MyLive/Mylike.vue'),
                meta: {
                    title: "我喜欢的",
                    keepAlive: false, // 不需要缓存
                    hidetabbar:true,
                },
            },
            {
                path: '/serverTell',
                name: 'serverTell',
                component: () => import('@/views/ServerTell/ServerTell.vue'),
                meta: {
                    title: "服务说明",
                    keepAlive: false, // 不需要缓存
                    hidetabbar:true,
                },
            },
            {
                path: '/chuanDa',
                name: 'chuanDa',
                component: ()=> import('@/views/ChuanDa/ChuanDa.vue'),
                meta: {
                    title: "穿搭",
                    keepAlive: false, // 不需要缓存
                    hidetabbar:true,
                },
            },
            {
                path: '/ShaiXuan',
                name: 'ShaiXuan',
                component: ()=> import('@/views/ShaiXuan/ShaiXuan.vue'),
                meta: {
                    title: "筛选",
                    keepAlive: false, // 不需要缓存
                    hidetabbar:true,
                },
            },
            {
                path: '/ShopDetail',
                name: 'ShopDetail',
                component: ()=> import('@/views/ShopDetail/ShopDetail.vue'),
                meta: {
                    title: "商品详情",
                    keepAlive: false, // 不需要缓存
                    hidetabbar:true,
                },
            },
            
        ]
    },
]

export const home = [...appRouter]

export default home
